package net.xdclass.order.model.vo;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import net.xdclass.order.enums.ClientType;
import net.xdclass.order.enums.ProductOrderPayTypeEnum;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;

/**
 * 支付协议
 */
@ApiModel(value = "支付")
@Data
public class PayInfoVO {

    @ApiModelProperty(value = "支付类型", example = "WECHAT")
    private ProductOrderPayTypeEnum payType;
    @ApiModelProperty(value = "订单号", example = "123456abc")
    private String outTradeNo;
    @ApiModelProperty(value = "标题", example = "被子")
    private String title;
    @ApiModelProperty(value = "描述", example = "描述")
    private String description;
    @ApiModelProperty(value = "端类型", example = "PC")
    private ClientType clientType;
    @ApiModelProperty
    private BigDecimal payFee;
    @ApiModelProperty(value = "订单支付超时时间【秒】")
    private Long orderPayTimeout; // 1m ~ 15d

}
